package com.hhxyjsj.factory.method;

import com.hhxyjsj.factory.INotebook;

/**
 * 工厂方法测试类
 * 
 * @author Puhui
 *
 */
public class MethodFactoryTest {

	public static void main(String[] args) {
		INotebook noetbook = DellNotebookFactory.getInstance();
		noetbook.produce();
		
		noetbook = LenovoNotebookFactory.getInstance();
		noetbook.produce();
	}

}
